using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN IKhoaBangDiemService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:16/01/2012 25:11:54</para>
	/// <para>Class Name: IKhoaBangDiemService</para>
	/// <para>Description: </para>
	///</summary>

	[ServiceContract]
	public partial interface IKhoaBangDiemService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: KhoaBangDiem_ID</para>
		/// <para>Output: KhoaBangDiemEntity</para>
		///</summary>
		[OperationContract]
		KhoaBangDiemEntity SelectOne(int KhoaBangDiem_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of KhoaBangDiemEntity</para>
		///</summary>
		[OperationContract]
		List<KhoaBangDiemEntity> SelectAll();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDS();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of KhoaBangDiemEntity</para>
		///</summary>
		[OperationContract]
		List<KhoaBangDiemEntity> SelectAllFilter(string strFilter);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSFilter(string strFilter);
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: Save</para>
		/// <para>Input: KhoaBangDiemEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Save(KhoaBangDiemEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: SaveRet</para>
		/// <para>Input: KhoaBangDiemEntity</para>
		/// <para>Output: return entity if succeeded else return null</para>
		///</summary>
		[OperationContract]
		KhoaBangDiemEntity SaveRet(KhoaBangDiemEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of KhoaBangDiemEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void SaveList(List<KhoaBangDiemEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of KhoaBangDiemEntity</para>
		/// <para>Output: return list of entities if succeeded else return null list</para>
		///</summary>
		[OperationContract]
		List<KhoaBangDiemEntity> SaveListRet(List<KhoaBangDiemEntity> list);
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: Update</para>
		/// <para>Input: KhoaBangDiemEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Update(KhoaBangDiemEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of KhoaBangDiemEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void UpdateList(List<KhoaBangDiemEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: UpdateLoaiDiem_ID</para>
		/// <para>Input: NewLoaiDiem_ID,KhoaBangDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateLoaiDiem_ID(int NewLoaiDiem_ID,int KhoaBangDiem_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: UpdateMonHoc_ID</para>
		/// <para>Input: NewMonHoc_ID,KhoaBangDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMonHoc_ID(int NewMonHoc_ID,int KhoaBangDiem_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: UpdateLanThi</para>
		/// <para>Input: NewLanThi,KhoaBangDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateLanThi(int NewLanThi,int KhoaBangDiem_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: UpdateUser_ID</para>
		/// <para>Input: NewUser_ID,KhoaBangDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateUser_ID(int NewUser_ID,int KhoaBangDiem_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: UpdateKhoaDoiTuong_ID</para>
		/// <para>Input: NewKhoaDoiTuong_ID,KhoaBangDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateKhoaDoiTuong_ID(int NewKhoaDoiTuong_ID,int KhoaBangDiem_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: UpdateLoaiKhoa</para>
		/// <para>Input: NewLoaiKhoa,KhoaBangDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateLoaiKhoa(Byte NewLoaiKhoa,int KhoaBangDiem_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: UpdateTrangThai</para>
		/// <para>Input: NewTrangThai,KhoaBangDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateTrangThai(Byte NewTrangThai,int KhoaBangDiem_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: UpdateNgayKhoa</para>
		/// <para>Input: NewNgayKhoa,KhoaBangDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateNgayKhoa(DateTime NewNgayKhoa,int KhoaBangDiem_ID);
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: Delete</para>
		/// <para>Input: KhoaBangDiemEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Delete(KhoaBangDiemEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:16/01/2012 25:11:54</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: KhoaBangDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByID(int KhoaBangDiem_ID);
		#endregion

		#region Select,delete by KhoaBangDiem_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END KhoaBangDiemWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

